public class Product {
    String Name;
    Integer Quantity; // 成员变量
    Double Price;
    String Comment;
    String Status;
    String Category;

    public Product(String name, Integer quantity, Double price, String comment, String status, String category) {
        Name = name;
        Quantity = quantity;
        Price = price;
        Comment = comment;
        Status = status;
        Category = category;
    }
    
    public String getName() {
        return Name;
    }

    public Integer getQuantity() {
        return Quantity;
    }

    public Double getPrice() {
        return Price;
    }

    public String getComment() {
        return Comment;
    }

    public String getStatus() {
        return Status;
    }

    public String getCategory() {
        return Category;
    }
}

